<%--
  Created by IntelliJ IDEA.
  User: Noodles
  Date: 2018/1/10
  Time: 14:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Login</title>

      <style type="text/css">
          h1{
              text-align: center;
              font-family: 楷体;
          }
          form{
              /*margin-left: 789px;*/
              display: inline-block;
              /*background-image: url(/img/bg.jpg);*/

          }
      </style>


  </head>

  <body style="overflow: auto;text-align: center;padding-top: 200px">


      <h1>学生成绩信息管理系统</h1>




  <form action="/Login" method="post">
    <%if (request.getAttribute("msg")!=null){%>
    <%=request.getAttribute("msg")%>
    <%}%>
    <table border="1" cellspacing="0" cellpadding="10">

      <tr>
        <td colspan="2">请你输入</td>
      </tr>

      <tr>

        <td> 用户 </td>

        <td><input type="radio" name="user" value="Student"> 学生
            <input type="radio" name="user" value="Teacher"> 教师
            <input type="radio" name="user" value="Admin"> 管理员
        </td>
      </tr>

      <tr>

        <td>登录名</td>

        <td><input type="text" name="username"></td>

      </tr>

      <tr>

        <td>密 码</td>

        <td>
          <input type="password" name="password">
          <input type="checkbox"> 记住用户名

        </td>

      </tr>
    </table>

    <input type="submit" value="登 陆">

  </form>


  </body>
</html>
